import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { Routes, RouterModule } from '@angular/router';
import { NgZorroIopModule } from 'ng-zorro-iop';
import { NgZorroAntdModule } from 'ng-zorro-antd';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { SharedComponentModule } from "../../shared-component/shared-component.module";
import { TriggerListComponent } from './list/trigger-list.component';
import { ClipboardModule } from 'ngx-clipboard';

const TRIGGER_ROUTES: Routes = [
  {
    path: '',
    component: TriggerListComponent,
    data: {
      breadcrumb: '触发器列表',
      hasRegion: true
    }
  }
];

@NgModule({
  declarations: [
    TriggerListComponent
  ],
  imports: [
    CommonModule,
    RouterModule.forChild(TRIGGER_ROUTES),
    FormsModule,
    ReactiveFormsModule,
    NgZorroAntdModule,
    NgZorroIopModule,
    SharedComponentModule,
    ClipboardModule
  ],
  exports: [
  ]
})
export class TriggerModule { }
